import { defaultRuleOptions } from '@VEC/global.ts'
import uniqueId from '@VEC/uniqueId.ts'

const type = 'Basis-Text';
const name = '文本';

export default defaultRuleOptions({
    icon: '&#xe6bf;',
    name,
    type,
    Tools: {
        // Delete: false,
        // Copy: false,
        Hide: false,
    },
    DragType: 'Ele',
    rule: function () {
        return {
            type,
            field: uniqueId(),
            title: name,
            props: {
                content: '文本',
                "StateForDefault": 'show'
            },
            codes: {},
            style: {},
            vents: {},
        }
    },
    props() {
        return [
            'Field',
            'Title',
            // 'StateForDefault',
            // 'Content',
        ]
    },
});


